package com.wcsy.myblog.service;

import com.wcsy.myblog.entity.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICommentService {
    List<Comment> listComment(String username);
    List<Comment> selectOneComment(int articleId);
    boolean insertComment(@Param("comment") Comment comment);
    List<Comment> MyListComment(int userId);
    List<Comment> thisListComment(int userId1);
    void  deleteComment(int commentId);
}
